<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            width: 500px;
            height: 700px;
            border: 1px solid #000;
            margin: 0 auto;
            background: rgb(77, 76, 76);
            position: relative;
        }
        .topText{
            width: 250px;
            height: 30px;
            background: orange;
            position: absolute;
            left: 50%;
            transform: translate(-50%);
            top: 30px;
            border-radius: 5px;
        }
        .count,.selfMsg{
            width: 400px;
            height: 250px;
            background: #fff;
            position: absolute;
        }
        p{
            color: rgb(54, 170, 83);
            font-size: 20px;
        }
        .count{
            left: 50px;
            top: 80px;
        }
        .count span{
            display: inline-block;
            margin-bottom: 10px;
            display: flex;
        }
        .count input{
            width: 200px;
            height: 25px;
            
        }
        .selfMsg{
            left: 50px;
            top: 350px;
        }
    </style>
</head>
<body>
    <div class="box">
        <form action="">
            <div class="topText"></div>
            <div class="count">
                <p>账户详细资料</p>
                <span>用户名称<input type="text" placeholder="请输入用户名"></span>
                <span>登录密码<input type="text" placeholder="请输入密码"></span>
                <span>重复登录密码<input type="text" placeholder="请再次输入密码"></span>
                <span>密码安全级别</span>
            </div>
            <div class="selfMsg">
                <p>个人信息资料</p>
            </div>
        </form>
    </div>
</body>
</html>